<template>
  <div :class="['min-h-screen bg-gray-50 my-home']">
    <div class="flex justify-center align-middle p-4">
      <div
        class="w-20 h-20 rounded-full overflow-hidden border-solid border-2 border-gray-200"
      >
        <van-image
          src="https://img.yzcdn.cn/vant/apple-1.jpg"
          lazy-load
          fit="sover"
          class="w-full h-full"
        />
      </div>
    </div>
    <div class="mx-4 bg-white rounded-md shadow-card">
      <van-cell
        title="我的订单"
        content="全部订单"
        is-link
        class="bg-transparent"
      />
      <van-grid :border="false" column-num="5">
        <van-grid-item icon="paid" text="待收款" badge="99+" />
        <van-grid-item icon="send-gift-o" text="待发货" badge="99+" />
        <van-grid-item icon="logistics" text="待收货" badge="99+" />
        <van-grid-item icon="comment-circle-o" text="评价" badge="99+" />
        <van-grid-item icon="cash-back-record" text="售后" badge="99+" />
      </van-grid>
    </div>
  </div>
</template>

<script>
import { reactive, toRef } from 'vue';
export default {
  setup() {
    const data = reactive({});

    return {
      ...toRef(data),
    };
  },
};
</script>

<style lang="less">
.my-home {
  .van-grid-item__content {
    background: none !important;
  }
}
/* .my-home .van-grid-item__content {
  background: none !important;
} */
</style>
